﻿using System;

namespace Yaml.Presentation.Parsing.TokenScanners {
    class AliasTokenScanner : AnchorTokenScannerBase {

        public AliasTokenScanner(Scanner scanner)
            : base(scanner, '*') {
        }
        protected override Yaml.Presentation.Tokens.Token CreateToken() {
            return new Tokens.AliasToken(Start, End, Anchor);
        }
    }
}
